package mest.dao.cxj;

import mest.entity.modeling_dictionaries;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ModelingDictionariesDao {

    /**
     * 更新字典表工序档案流水号
     *
     * @return
     */
    int updateByPrimaryKeySelective(modeling_dictionaries modelingdictionaries);

    /**
     * 查询字典表
     *
     * @return
     */
    modeling_dictionaries selectModelingDictionaries(@Param("theirDb") String theirDb);

    /**
     * 更新字典表工序档案流水号
     *
     * @return
     */
    void updateModelingDictionariesByWorkNo(@Param("theirDb") String theirDb);

    /**
     * 更新字典表工艺档案流水号
     *
     * @return
     */
    void updateModelingDictionariesByWorkRouteNo(@Param("theirDb") String theirDb);

    /**
     * 更新字典表模具档案流水号
     */
    void updateModelingDictionariesByModelFileNo(@Param("theirDb") String theirDb);
}